package com.wwmz.mebatis.v1;

import com.wwmz.mebatis.v1.config.MyConfiguration;
import com.wwmz.mebatis.v1.config.MyExecutor;
import com.wwmz.mebatis.v1.config.MySqlSession;
import com.wwmz.mebatis.v1.mapper.BlogMapper;

/**
 * Created by wumz on 2020/10/14 14:24
 */
public class Test {

    public static void main(String[] args) {
        MySqlSession mySqlSession = new MySqlSession(new MyConfiguration(), new MyExecutor());
        BlogMapper mapper = mySqlSession.getMapper(BlogMapper.class);
        mapper.selectBlogById(1);
    }
}
